package com.ctshk.rpc.booking.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 站外租车出行信息
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplier_outside_order_car_rental")
@ApiModel(value="SupplierOutsideOrderCarRental对象", description="站外租车出行信息")
public class SupplierOutsideOrderCarRental extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "使用日期起始")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "使用日期截至")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "启程城市JSON")
    private String startCityJson;

    @ApiModelProperty(value = "启程地点")
    private String startLocation;

    @ApiModelProperty(value = "到达城市JSON")
    private String endCityJson;

    @ApiModelProperty(value = "到达地点")
    private String endLocation;

    @ApiModelProperty(value = "租车类别JSON")
    private String carTypeJson;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "数量")
    private Integer totalNum;

    @ApiModelProperty(value = "旅客人数")
    private Integer touristNum;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
